package com.xc58.highreactor.server.core.scanner;

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;

import com.xc58.highreactor.server.core.LifeCycle;
import com.xc58.highreactor.server.core.constants.Constants;

public class ClassScanner implements LifeCycle {

	public void start() {
		String classPath = Constants.getClassPath();
		try {
			File file = new File(classPath);
			URLClassLoader loader = new URLClassLoader(new URL[]{file.toURI().toURL()});
			
		} catch (MalformedURLException e) {
			e.printStackTrace();
		}
	}

	public void stop() {

	}

}
